<?php //pr($content)?>
<div class="imports index">
	<h2><?php __('Imports');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<?php foreach ($head as $h):?>
            <th><?php echo $h;?></th>
            <?php endforeach;?>
	</tr>
	<?php
	$i = 0;
    foreach ($content as $cont):
	
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
        <?php for($index=1;$index<$columns;$index++):?>
		<td><?php echo $cont['Import'][$index] ?>&nbsp;</td>
        <?php endfor; ?>
        <td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $cont['Import']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $cont['Import']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $cont['Import']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $cont['Import']['id'])); ?>
		</td>
	</tr>

<?php endforeach; ?>
	</table>
	
</div>
